x86, amd: Disable GartTlbWlkErr when BIOS forgets it
authorJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2011 08:45:11 +0000 (09:45 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 13 Dec 2011 08:45:11 +0000 (09:45 +0100)
commit1d15e942c685825de98fb8d791826d679f800375
treed50434db801b971626a92de56ee96a2d16eb5408
parent03e7a9bacdca30814a8dc91cecc3ca2616c79b85
x86, amd: Disable GartTlbWlkErr when BIOS forgets it

This patch disables GartTlbWlk errors on AMD Fam10h CPUs if the BIOS
forgets to do is (or is just too old). Letting these errors enabled
can cause a sync-flood on the CPU causing a reboot.

The AMD BKDG recommends disabling GART TLB Wlk Error completely.

Based on a Linux patch from Joerg Roedel <joerg.roedel@amd.com>; see e.g.
https://git.kernel.org/?p=linux/kernel/git/torvalds/linux.git;a=patch;h=5bbc097d890409d8eff4e3f1d26f11a9d6b7c07e

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/cpu/mcheck/amd_f10.c
xen/arch/x86/cpu/mcheck/mce_amd_quirks.c
xen/arch/x86/cpu/mcheck/mce_quirks.h
xen/include/asm-x86/msr-index.h